<template>
  <section class="cell-box">
    <div>this is si a long</div>
    <div>code is {{code}}</div>
  </section>
</template>

<script lang="ts">
  import {VueComponent, Component, Prop} from "modules";

  @Component
  export default class Test extends VueComponent {
    public code: string = "";
   public created() {
     this.code = location.search;
     console.log(location.search, '234234');
   }
  }
</script>